//
//  OosSavedBy.m
//  oos4ios
//
//  Created by Pablo Gonzalez on 6/28/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import "OosSavedBy.h"
#import "../../Constants/OosNamespaces.h"

@implementation SavedByUser

+ (NSString *)extensionElementLocalName     { return @"user"; }

@end

@implementation OosSavedBy


+ (NSString *) extensionElementLocalName	{ return @"saved-by"; }

- (void)addExtensionDeclarations
{
    [super addExtensionDeclarations];
    [self addExtensionDeclarationForParentClass: [self class] 
                                   childClasses: [SavedByUser class], nil];
}

- (NSArray *)users
{
    return [self objectsForExtensionClass:[SavedByUser class]];
}

@end
